from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('community', '0008_homebanner_image'),
    ]

    operations = [
        migrations.AddField(
            model_name='homebanner',
            name='title_color',
            field=models.CharField(max_length=20, default='#ffffff', verbose_name='标题颜色', db_comment='标题颜色'),
        ),
        migrations.AddField(
            model_name='homebanner',
            name='slogan_color',
            field=models.CharField(max_length=20, default='#ffffff', verbose_name='标语颜色', db_comment='标语颜色'),
        ),
        migrations.AddField(
            model_name='homebanner',
            name='title_font_size',
            field=models.IntegerField(default=48, verbose_name='标题字号', db_comment='标题字号px'),
        ),
        migrations.AddField(
            model_name='homebanner',
            name='slogan_font_size',
            field=models.IntegerField(default=20, verbose_name='标语字号', db_comment='标语字号px'),
        ),
        migrations.AddField(
            model_name='homebanner',
            name='offset_x',
            field=models.IntegerField(default=0, verbose_name='水平偏移', db_comment='文本区域X偏移px'),
        ),
        migrations.AddField(
            model_name='homebanner',
            name='offset_y',
            field=models.IntegerField(default=0, verbose_name='垂直偏移', db_comment='文本区域Y偏移px'),
        ),
    ]

